/*
 * CoffeeColorSchemeMapper.java
 *
 * Copyright(c) 2011
 * Michael Kroez
 * kroez@studiorutton.de
 *
 * All rights reserved.
 *
 * $Id$
 * 
 */

package de.studiorutton.colorschemes;

import de.studiorutton.gerengdic.R;
import android.content.res.Resources;

public class CoffeeColorSchemeMapper extends ColorSchemeMapper {

	public CoffeeColorSchemeMapper(Resources res) {
		super(res);
	}

	@Override
	public void createColors() {
		lightLowContrast = new ColorCollection(
				res.getColor(R.color.coffee_milk),
				res.getColor(R.color.coffee_light),
				res.getColor(R.color.espresso),
				res.getColor(R.color.light_black));

		darkLowContrast = new ColorCollection(
				res.getColor(R.color.coffee ),
				res.getColor(R.color.coffee_dark),
				res.getColor(R.color.espresso),
				res.getColor(R.color.white_smoke));
		
		titleGradient = GradientColor.LIGHT_TO_DARK;
		resultGradient = GradientColor.DARK_TO_LIGHT;
		itemGradient = GradientColor.LIGHT_TO_DARK;

	}
	
	@Override
	public int getBackgroundColor() {
		return res.getColor(R.color.light_black );
	}

}
